Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
C# / VB.NET - [C#]checkStringHash
Forum - C# / VB.NET - [C#]checkStringHash

Avatar
-Meng0- (Normal User)
Rookie


Messaggi: 40
Iscritto: 01/01/2011

Segnala al moderatore
Postato alle 19:48
Mercoledì, 18/04/2012
Salve a tutti, domattina devo eseguire un web test in c#, consiste nel interagire con un oggetto su un server dato e restituire il risultato di una funzione richiesta.
Per vie traverse:k:ho scoperto che la funzione richiesta ha nome "checkStringHash", e il server contiene 2 file xml così strutturati:
1 -
POST *** HTTP/1.1
Host: ***
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://***"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">;
  <soap:Body>
    <checkStringHash xmlns="http://***">;
      <htest>long</htest>
      <nome>string</nome>
      <cognome>string</cognome>
      <matricola>int</matricola>
    </checkStringHash>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

2 -
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">;
  <soap:Body>
    <checkStringHashResponse xmlns="http:***">
      <checkStringHashResult>string</checkStringHashResult>
    </checkStringHashResponse>
  </soap:Body>
</soap:Envelope>

Qualcuno sa interpretarli e provare ad aiutarmi a capire quale sarà l'effettiva funzione richiesta?
Grazie mille in anticipo;)

PM Quote